package com.umeox.watch.moto.dataservice.db.model;

import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

/**
 * Created by Rambo 2024/5/23/0023
 * Describe:
 */
@Entity(tableName = StoryPlayHistory.TABLE_NAME)
public class StoryPlayHistory {

    @Ignore
    public static final String TABLE_NAME = "story_play_history";

    //故事ID
    @PrimaryKey
    public long id;

    //播放次数
    public int amount;

    public boolean isUpload;


    @Override
    public String toString() {
        return "StoryPlayHistory{" +
                "id=" + id +
                ", amount=" + amount +
                ", isUpload=" + isUpload +
                '}';
    }
}
